﻿<%@ Page Title="PromotionsApproval" MasterPageFile="~/site.master" Language="C#" AutoEventWireup="true" 
    CodeBehind="PromotionsApproval.aspx.cs" Inherits="WebFormSingTowerMall.Approval.PromotionsApproval" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
     <div>

            <legend>Promotions Approval</legend>
    
        <asp:GridView ID="PromotsGridView" runat="server" Width="100%" BackColor="White" 
                    BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" 
                CellPadding="3" CellSpacing="1"
                    GridLines="None" AutoGenerateColumns="False" 
                    onselectedindexchanged="PromotsGridView_SelectedIndexChanged">
                    <Columns>
                       <asp:BoundField DataField="CampaignID" HeaderText="Campaign ID" 
                            SortExpression="CampaignID" />
                       <asp:BoundField DataField="StartPeriod" HeaderText="Start Period" 
                            SortExpression="StartPeriod" />
                       <asp:BoundField DataField="EndPeriod" HeaderText="End Period" 
                            SortExpression="EndPeriod" />
                       <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
                       <asp:BoundField DataField="Description" HeaderText="Description" 
                            SortExpression="Description" />
                       <asp:ImageField DataImageUrlField="ImagePath" HeaderText="Image"></asp:ImageField>
                       <%--<asp:BoundField DataField="ImagePath" HeaderText="Image Path" SortExpression="ImagePath" />--%>
                       <asp:BoundField DataField="Status" HeaderText="Status" 
                            SortExpression="Status" />
                       <asp:CommandField ShowSelectButton="True" HeaderText="Approval" 
                            ButtonType="Button" SelectText="Accept" />
                       <asp:TemplateField HeaderText="Rejection">
                            <ItemTemplate>
                                <asp:Button ID="Select" runat="server"  Text="Reject"
                                    OnClick="CheckBox1_CheckedChanged" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                    <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                    <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                    <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                    <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                    <SortedAscendingHeaderStyle BackColor="#594B9C" />
                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                    <SortedDescendingHeaderStyle BackColor="#33276A" />
        </asp:GridView>
    
                <br />
                <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
                    onclick="btnSubmit_Click" />
    
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>



            <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label2" runat="server"></asp:Label>



            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;



     
    </div>
</asp:Content>

